package com.example.myapplication.strategy;

public class Context {
    public Context() {
    }

    public Context(Strategy strategy) {
        this.strategy = strategy;
    }

    Strategy strategy = null;

    public void setStrategy(Strategy strategy) {
        this.strategy = strategy;
    }

    public int doOperation(int param1, int param2) {
        return strategy.doOperaton(param1, param2);
    }
}
